home *** CD-ROM | disk | FTP | other *** search
/ Creative Computers / Creative Computers CD-ROM, Volume 1 (Legendary Design Technologies, Inc.)(1994).iso / shareware / intuition / reqtools_2.1e / glue / gcc / gcc_glue.lha / reqtoolsstub.c < prev   
C/C++ Source or Header  |  1993-03-14  |  2KB  |  58 lines

  1. #include <intuition/intuition.h>
  2. #include <libraries/reqtools.h>
  3. #include <clib/reqtools_protos.h>
  4.  
  5. APTR rtAllocRequest (ULONG type, ULONG Tag, ...)
  6. {
  7.   return rtAllocRequestA (type, (struct TagItem *) (&type + 1));
  8. }
  9. LONG rtChangeReqAttr (APTR req, ULONG Tag, ...)
  10. {
  11.   return rtChangeReqAttrA (req, (struct TagItem *) (&req + 1));
  12. }
  13.  
  14. APTR rtFileRequest (struct rtFileRequester * filereq, char * file, char * title, ULONG Tag, ...)
  15. {
  16.   return rtFileRequestA (filereq, file, title, (struct TagItem *) (&title + 1));
  17. }
  18.  
  19. ULONG rtEZRequestTags (char * bodyfmt, char * gadfmt, struct rtReqInfo * reqinfo, APTR argarray, ULONG Tag, ...)
  20. {
  21.   return rtEZRequestA (bodyfmt, gadfmt, reqinfo, argarray, (struct TagItem *) (&argarray + 1));
  22. }
  23.  
  24. ULONG rtEZRequest (char * bodyfmt, char * gadfmt, struct rtReqInfo * reqinfo, struct TagItem * tagitem, ...)
  25. {
  26.   return rtEZRequestA (bodyfmt, gadfmt, reqinfo, (APTR) (&tagitem + 1), tagitem);
  27. }
  28.  
  29. ULONG rtGetString (UBYTE * buffer, ULONG maxchars, char * title, struct rtReqInfo * reqinfo, ULONG Tag, ...)
  30. {
  31.   return rtGetStringA (buffer, maxchars, title, reqinfo, (struct TagItem *) (&reqinfo + 1));
  32. }
  33.  
  34. ULONG rtGetLong (ULONG * longptr, char * title, struct rtReqInfo * reqinfo, ULONG Tag, ...)
  35. {
  36.   return rtGetLongA (longptr, title, reqinfo, (struct TagItem *) (&reqinfo + 1));
  37. }
  38.  
  39. ULONG rtFontRequest (struct rtFontRequester * fontreq, char * title, ULONG Tag, ...)
  40. {
  41.   return rtFontRequestA (fontreq, title, (struct TagItem *) (&title + 1));
  42. }
  43.  
  44. LONG rtPaletteRequest (char * title, struct rtReqInfo * reqinfo, ULONG Tag, ...)
  45. {
  46.   return rtPaletteRequestA (title, reqinfo, (struct TagItem *) (&reqinfo + 1));
  47. }
  48.  
  49. ULONG rtReqHandler (struct rtHandlerInfo * handlerinfo, ULONG sigs, ULONG Tag, ...)
  50. {
  51.   return rtReqHandlerA (handlerinfo, sigs, (struct TagItem *) (&sigs + 1));
  52. }
  53.  
  54. ULONG rtScreenModeRequest (struct rtScreenModeRequester * screenmodereq, char * title, ULONG Tag, ...)
  55. {
  56.   return rtScreenModeRequestA (screenmodereq, title, (struct TagItem *) (&title + 1));
  57. }
  58.